import React from "react";
import {Carousel} from "antd";
import '../assets/css/swiper.css'

export default class Swiper extends React.Component {
    render() {
        return (
            <Carousel autoplay>
                <div>
                    <img src={require('../assets/image/banner1.jpg')} alt="粤翔金属"/>
                </div>
                <div>
                    <img src={require('../assets/image/banner2.jpg')} alt="粤翔金属"/>
                </div>
                <div>
                    <img src={require('../assets/image/banner3.jpg')} alt="粤翔金属"/>
                </div>
            </Carousel>
        )
    }
}
